package com.sicau.smarttraceplatform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sicau.smarttraceplatform.entity.Trace;
import com.sicau.smarttraceplatform.entity.param.trace.TraceQueryH5Param;
import com.sicau.smarttraceplatform.entity.param.trace.TraceQueryParam;
import com.sicau.smarttraceplatform.entity.vo.PageDataVO;
import com.sicau.smarttraceplatform.entity.vo.trace.TraceInfoVO;

/**
 * <p>
 * 耕种管收数据 服务类
 * </p>
 *
 * @author sxt && ttxxi
 * @since 2020-05-24
 */
public interface TraceService extends IService<Trace> {

    /**
     * 根据条件查询耕种管收数据 不传条件默认查询所有数据
     *
     * @param queryParam 条件入参
     * @return {@link TraceInfoVO}
     */
    PageDataVO<TraceInfoVO> queryTraceInfoByCondition(TraceQueryParam queryParam);

    /**
     * 根据条件查询耕种管收数据H5
     *
     * @param traceQueryH5Param 条件入参
     * @return {@link TraceInfoVO}
     */
    PageDataVO<TraceInfoVO> queryTraceInfoH5ByCondition(TraceQueryH5Param traceQueryH5Param);
}
